<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@page import="model.JsfStaff"%>
<%@page import="model.JsfClient"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<title>所有课程</title>
</head>
<body>
<table >
			<s:iterator value="jsfclass" var="var">
				<tr>
				<td> 编号：
				<s:property value="#var.id" />
				</tr>
				<tr>
				<td> 课程名称：
				<s:property value="#var.name" />
				</tr>
				<tr>
				<td> 房间号码：
				<s:property value="#var.classrommNum" />号房
				</tr>
				<tr>
				<td> 开始时间：
				<s:property value="#var.beginTime" />
				</tr>
				<tr>
				<td> 结束时间：
				<s:property value="#var.endTime" />
				</tr>
				<tr>
				<td> 地点：
				<s:property value="#var.place" />
				</tr>
				<tr>
				<td> 班级人数：
				<s:property value="#var.clientNumMax" />
				</tr>
				<tr>
				<td>价格：
				<s:property value="#var.priceEveryone" />
				</tr>
				<tr>
				<td>教练：
				<s:property value="#var.jsfCoach.name" />
				</tr>
				<tr>
				<td>其他信息：
				<s:property value="#var.detail" />
				</tr>
				<tr>
				<td>
				<input type="button" value="返回所有课程" class="btn btn-info"
				onclick="location.href ='class_findall';" />
				</tr>
			</s:iterator>
		</table>
</body>
</html>